package HibernateOrederManagement.command.impl;

import HibernateOrderManagerment.bean.User;
import HibernateOrederManagement.command.Command;
import HibernateOrederManagement.util.OrderConsole;


public class ExitCommand implements Command {
	User user = null;
	public  ExitCommand() {
	}
	public  ExitCommand(User user) {
		this.user = user;
	}
	
	
	@Override
	public void  excute() {
	
		System.exit(0);
		
       OrderConsole.println("bye ,bye");		
	}


}
